<template>
  <div>
    <h1>生成结算单页面</h1>
<!--    <el-button @click="printOrder()">打印</el-button>
    <div id="order" class="order">
      <table 
        cellspacing="0" 
        border="1"
        style="width: 950px;font-family: '宋体';"
        >
        <tr>
          <td colspan="3">
            <div
              style="font-size: 20px;font-weight: 900;text-align: center;line-height: 30px;"
            >
              <b>浙江乾唐汇环卫科技有限公司</b>
            </div>
            <div 
              style="font-size: 16px;font-weight: 900;text-align: center;line-height: 30px;letter-spacing: 1em;text-indent: 1em;"
              >
              结算单
            </div>
            <div
              style="font-size: 12px;text-align: right;"
            >
              <span>单号</span>
              <span>AD32432432</span>
            </div>
          </td>
        </tr>
        <tr>
          <td>123</td>
          <td>123</td>
          <td>123</td>
        </tr>
        <tr>
          <td>123</td>
          <td>123</td>
          <td>123</td>
        </tr>
      </table>
    </div> -->

  </div>
</template>

<script>
  // import $ from 'jquery'
  export default {
    data() {
      
    },
    mounted() {
      
    },
    methods:{
      printOrder:function(){
          // var obj = $('#order');
          // //创建一个新的窗口
          // var newWindow=window.open("打印窗口","_blank");
          // var docStr = obj.html();
          // //把需要打印的内容写进新的窗口
          // newWindow.document.write(docStr);
          // newWindow.document.close();
          // //打印
          // newWindow.print();
          // newWindow.close();
      }
    }
  }
</script>

<style lang="css" scoped>
  .order table {
    width: 950px;
    font-family: "宋体";
  }

</style>
